<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>{{ request.session.username }}!  欢迎回来！</h1>
<p>
    <a href="{% url 'user:logout' %}">登出</a>
</p>
</body>
</html>